import request from '@/utils/request'

// 查询首页快捷入库列表
export function listHomeQuick(query) {
  return request({
    url: '/quick/homeQuick/list',
    method: 'get',
    params: query
  })
}

// 查询首页快捷入库详细
export function getHomeQuick(id) {
  return request({
    url: '/quick/homeQuick/' + id,
    method: 'get'
  })
}

// 保存首页快捷入库
export function saveHomeQuick(data) {
  return request({
    url: '/quick/homeQuick/save',
    method: 'post',
    data: data
  })
}

// 删除首页快捷入库
export function delHomeQuick(id) {
  return request({
    url: '/quick/homeQuick/' + id,
    method: 'delete'
  })
}

// 导出首页快捷入库
export function exportHomeQuick(query) {
  return request({
    url: '/quick/homeQuick/export',
    method: 'get',
    params: query
  })
}
